/**
 * Copyright (C), 2015-2020, XXX有限公司
 * FileName: IndexServiceAspect
 * Author:   ZX
 * Date:     2020/7/30 22:16
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package org.example.Aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author ZX
 * @create 2020/7/30
 * @since 1.0.0
 */
@Component
@Aspect
public class IndexServiceAspect {

    public IndexServiceAspect(){
        System.out.println("IndexServiceAspect");
    }

    @Before("execution(* org.example.service.IndexService.*(..))")
    public void beforeIndexService(){
        System.out.println("before IndexService method");
    }
}